x11: Relax requirements for setting ParentRelative
authorEvangelos Foutras <evangelos@foutrelis.com>
Sat, 11 Apr 2015 08:20:56 +0000 (11:20 +0300)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 13 Apr 2015 12:26:15 +0000 (08:26 -0400)
commit374bedc0e2c208ee3fe0bfc698841e5c093e2905
tree79cf5f2e0e602f502b4c00998ae2ef4d5bc681bf
parentfe7bc84c891ed5b47115cb42c58fca19b02990e1
x11: Relax requirements for setting ParentRelative

XSetWindowBackgroundPixmap() will throw BadMatch only in the case of a
different parent window depth. Different visuals are fine and actually
expected in Gtk+ 3.16 (since we don't stick to the system default visual
but try to pick a better one).

https://bugzilla.gnome.org/show_bug.cgi?id=747524
gdk/x11/gdkwindow-x11.c